Method for improving unlocking speed and mobile terminal

ABSTRACT

A method for improving unlocking speed and a mobile terminal are provided. The method is applicable to the mobile terminal in a screen-off state and equipped with a metal dome array. The method includes the follows. A first thread is executed when a current unlock mode of the mobile terminal is press-to-trigger fingerprint unlock in the screen-off state, and a second thread is executed during the execution of the first thread. The first thread includes the following. An operation instruction is received when a user touches a fingerprint module, a fingerprint image is acquired, the fingerprint image acquired is compared with a preset fingerprint image, and unlock after a successful match. The second thread includes the following. An operation instruction is received when the user presses the metal dome array, and wait for unlocking success and then a display screen is lit up.

CROSS-REFERENCE TO RELATED APPLICATION

This application is a continuation of U.S. Ser. No. 15/824,522, filed onNov. 28, 2017, which is a continuation of International Application No.PCT/CN2016/091546, filed on Jul. 25, 2016, which claims priority toChinese Patent Application No. 201610147471.4, filed on Mar. 14, 2016,the contents of all of which are herein incorporated by reference intheir entireties.

TECHNICAL HELD

The present disclosure relates to the field of mobile terminaltechnology, and particularly to a method for improving unlocking speedand a mobile terminal.

BACKGROUND

As mobile terminals advanced rapidly, mobile terminals such as mobilephones, tablet PCs or the like can provide increasing convenience tousers in life, work, entertainment, and other aspects. Competition amongvarious mobile terminal manufacturers is very intense. Optimization ofproduct details often becomes manufacturer's focus of competition andpromotion. For example, unlocking speed has become an aspect ofcompetition of major manufacturers.

Biological password, because of its unique and advanced nature, hasgradually become a standard configuration of mainstream terminals, suchas fingerprint identification technology, iris recognition technologyand the like. The biological password can be widely used in unlocking,waking up, mobile payment and other functions, and fully meet userrequirements of convenience and security. When unlocking a mobileterminal in a screen-off state (screen-off unlock) using the biologicalpassword, the time required for a system to respond and light up ascreen account for a large portion of unlocking time. Especially whenlighting up the screen, most mobile terminals are equipped with lightsensors and color temperature sensors, and light sensing and colortemperature detection are turned on, this will lead to a longer time tolight up the screen and a longer unlocking time in a screen-off state,and user experience is severely affected.

BRIEF DESCRIPTION OF THE DRAWINGS

The present disclosure will now be described, by way of example only,with reference to the accompanying drawings. It will be apparent thatthe drawings described in the following represent merely exemplary ofthe disclosure, and those of ordinary skill in the art will be able toobtain other drawings from these drawings without creative work.

FIG. 1 is a schematic flowchart illustrating a method for improvingunlocking speed in accordance with a first implementation of thedisclosure.

FIG. 2 is a schematic flowchart illustrating a method for improvingunlocking speed in accordance with a second implementation of thedisclosure.

FIG. 3 is a schematic flowchart illustrating a method for improvingunlocking speed in accordance with a third implementation of thedisclosure.

FIG. 4 is a schematic flowchart illustrating a method for improvingunlocking speed in accordance with a fourth implementation of thedisclosure.

FIG. 5 is a schematic diagram of functional modules of a mobile terminalin accordance with a fifth implementation of the disclosure.

FIG. 6 is a schematic diagram of a functional module of a mobileterminal in accordance with a sixth implementation of the disclosure.

FIG. 7 is a hardware architecture diagram of a mobile terminal inaccordance with a seventh implementation of the disclosure.

FIG. 8 is a schematic flowchart illustrating a method for improvingunlocking speed in accordance with an eighth of the disclosure.

FIG. 9 is a schematic diagram of functional modules of a mobile terminalin accordance with a ninth implementation of the disclosure.

DETAILED DESCRIPTION

Hereinafter, technical solutions embodied in implementations of thedisclosure will be described in a clear and comprehensive manner inconjunction with the accompanying drawings. It is evident that theimplementations described herein constitute merely some rather than allof the implementations of the disclosure. Those of ordinary skill in theart will be able to derive other implementations based on theseimplementations without making inventive efforts, which all such derivedimplementations shall all fall in the protection scope of thedisclosure.

“Mobile terminal” in the implementations of the disclosure may includesmart phones, tablet PCs, palmtops, laptops, mobile Internet devices(MID), or wearable devices. The above-mentioned terminals are merelyillustrative and not exhaustive, including but not limited to theabove-described mobile terminals.

The terms “first”, “second”, and “third” appearing in the presentspecification, claims and drawings are intended for distinguishingdifferent objects rather than describing a particular order. Inaddition, the terms “include”, “comprise” “have” and any variationsthereof are intended to cover anon-exclusive inclusion. Such as aprocess, method, system, product, or apparatus that includes a series ofsteps or units, is not limited to the listed steps or units, butoptionally may also include steps or units not listed, or alternativelyother steps or units inherent to these processes, methods, products, orapparatuses.

The phrase “and/or” used herein refers to and encompasses any or all ofthe possible combinations of one or more associated listed items. Forexample, for the purpose of the present disclosure, the phrases “Aand/or B” and “A or B” mean (A), (B), or (A and B).

The term “module” may be used to refer to one or more physical orlogical components or elements of a system. In some implementations, amodule may be a distinct circuit, while in other implementations amodule may include a plurality of circuits.

The phrase “unlocking password” may be a biological password. Thebiological password may include but is not limited to a fingerprintpassword, an iris password, a face image password, a brain wavepassword, a heartbeat password, or a voice password. The password can bein the form of images, such as fingerprint images and the like.

In the related art, when unlocking a mobile terminal, unlocking andlighting up (also known as waking up) of a terminal screen are conductedsequentially. Besides, light sensing and color temperature detection areturned on, so as to ensure that real-time data can be collected in thecurrent environment to set the brightness and color temperature usedwhen lighting up the screen after the screen-off unlock is successful.

In implementations of the present disclosure, in the screen-off state,unlocking and lighting up of a screen are performed in parallel so as toshorten the unlocking time of the terminal. In at least oneimplementation, the screen is unlocked and lighted up at least after asuccessful match.

In order to further improve the unlocking speed, light sensationadjustment and color temperature detection function will be turned offor remained in a turn-off state. Light sensation data and colortemperature data used the last time the display screen of the mobileterminal was lit up will be invoked to light up the display screen ofthe mobile terminal. Thereby eliminating the need of tedious andtime-consuming detection of brightness and color temperature of currentreal-time environment and as a result, the display screen can be lit upimmediately and the unlocking speed can be further improved. The userdoes not have to wait for an excessively long unlocking time, therebyimproving practicability of the terminal and providing better userexperience for the user.

First Implementation

FIG. 1 is a schematic flowchart illustrating a method for improvingunlocking speed in accordance with a first implementation of thedisclosure. The method is applicable to a mobile terminal in ascreen-off state and may include the following.

At block 101, an operation of entering an unlocking password by a useris received.

The following describes the fingerprint password as an example. The usermay touch a fingerprint module of the mobile terminal with a finger whenentering the unlocking password. The capacitance of a capacitor forgenerating an Interrupt Request (IRQ) in the fingerprint module may bechanged at the moment of finger-touch. The mobile terminal may treat themoment as a start time of unlocking.

At block 102, compare the unlocking password entered and a presetpassword, and a display screen of the mobile terminal will be unlockedand lit up at least after the unlocking password entered and the presetpassword is matched. The display screen of the mobile terminal is lit upby invoking light sensation data and color temperature data used thelast time the display screen of the mobile terminal was lit up.Obviously, the terminal cannot be unlocked if the comparison fails. Itis possible to remind the user that he or she has failed to unlock theterminal or without any processing, and the implementations of thedisclosure are not limited.

The unlocking password entered can be the biological password of theuser for example. In response to the entering of the biologicalpassword, the biological password will be obtained and compared with apreset biological password. For example, a fingerprint image, an irisimage, a face image, a brain wave image, an electrocardiographic image,or a sound waveform image received will be compared with a presetfingerprint image, a preset iris image, a preset face image, a presetbrain wave image, a preset electrocardiographic image, or a preset soundwaveform image correspondingly. For example, the mobile terminal mayreceive an operation of entering a fingerprint image when the usertouches a fingerprint module, then acquire the fingerprint image enteredby the user and compare it with the preset fingerprint image.

After obtaining the biological password, to better compare the presetpassword, an original image corresponding to the obtained biologicalpassword can be optimized to make the original image clearer.

As one implementation, in the method for improving the unlocking speed,a moment that the display screen is lit up is considered as an end timeof the unlocking.

To obtain better display effects, light sensing (also known as lightsensation adjustment) and color temperature detection will usually beturned on simultaneously. The method in accordance with theimplementations of the disclosure is still applicable to scenes whereonly one of light sensing and color temperature detection is turned on.In this situation, what need to do is, determining whether one of lightsensing and color temperature detection is turned on and if so, turningit off and then lighting up the display screen by invoking data used thelast time the display screen was lit up. “The last time” used herein mayrefer to that, with respect to the current screen-off state, when thedisplay screen was lit up in the previous time. In addition to the dataused the last time the display screen was lit up, data used for lightingup set by manufactures or the user may also be invoked to light up thedisplay screen, and the implementations of the disclosure are notlimited thereto.

In the screen-off state, by receiving the operation of entering theunlocking password by the user, the unlocking password entered by theuser can be obtained. Then compare the unlocking password with thepreset password. If the unlocking password and the preset password arematched, the mobile terminal will be unlocked and the display screen ofthe mobile terminal will be lit up. As one implementation, the displayscreen can be lit up by invoking the light sensation data and the colortemperature data used when the display screen of the mobile terminal waslit up last time. Thereby eliminating the need for tedious andtime-consuming detection of brightness and color temperature of currentreal-time environment and consequently, the display screen can be lit upimmediately and the unlocking speed can be improved. The user does nothave to wait for an excessively long unlocking time, thereby improvingpracticability of the terminal and providing better user experience forthe user.

Second Implementation

FIG. 2 is a schematic flowchart illustrating a method for improvingunlocking speed in accordance with a second implementation of thedisclosure. The method is applicable to a mobile terminal in ascreen-off state and may include the following.

At block 201, an operation of entering an unlocking password by a useris received.

The following describes the fingerprint password as an example. The usermay touch a fingerprint module of the mobile terminal with a finger inorder to enter the unlocking password. The capacitance of a capacitorfor generating an Interrupt Request (IRQ) in the fingerprint module maybe changed at the moment of finger-touch. The mobile terminal may treatthe moment as a start time of unlocking.

At block 202, light sensing and color temperature detection arecontrolled in a turn-off state. For example, whether the mobile terminalhas currently turned on the light sensing and the color temperaturedetection is determined. If the mobile terminal has currently turned onthe light sensing and the color temperature detection, the lightsensing, and the color temperature detection are controlled to be turnedoff. On the other hand, if the mobile terminal has turned off the lightsensing and the color temperature detection, the light sensing and thecolor temperature detection will remain in the turn-off state.

At block 203, compare the unlocking password entered and a presetpassword, and a display screen of the mobile terminal will be unlockedand lit up at least after the unlocking password entered and the presetpassword is matched. The display screen of the mobile terminal is lit upby invoking light sensation data and color temperature data used thelast time the display screen of the mobile terminal was lit up.Obviously, the terminal cannot be unlocked if the comparison fails. Itis possible to remind the user that he or she has failed to unlock theterminal or without any processing, and the implementations of thedisclosure are not limited.

A moment that the display screen is lit up may be considered as a momentthat the unlocking is finished.

To obtain better display effects, light sensing and color temperaturedetection will usually be turned on simultaneously. The method inaccordance with the implementations of the disclosure is stillapplicable to scenes where only one of the light sensing and the colortemperature detection is turned on. In this situation, what need to dois, determining whether only one of the light sensing and the colortemperature detection is turned on and if so, turning it off and thenlighting up the display screen by invoking data used the last time thedisplay screen was lit up. “The last time” used herein may refer tothat, with respect to the current screen-off state, when the displayscreen was lit up in the previous time. In addition to the data used thelast time the display screen was lit up, data used for lighting up setby manufactures or the user may also be invoked to light up the displayscreen, and the implementations of the disclosure are not limitedthereto.

At block 204, the light sensing and the color temperature detection areturned on.

At block 205, a brightness value and a color temperature value of thedisplay screen lit up at block 203 are adjusted according to lightsensation data and color temperature data currently detected.

In the implementation, as data for unlocking and lighting up the displayscreen last time is used to unlock and light up the display screen, thedata may not fit current environment. So, the light sensing and thecolor temperature detection are re-turned on after lighting up thedisplay screen, to auto-adjust brightness and color temperature of thedisplay screen according to the current environment, thereby meetingreal-time requirements of the user, further ensuring display effects ofthe screen while improving the unlocking speed.

Third Implementation

FIG. 3 is a schematic flow chart illustrating a method for improvingunlocking speed in accordance with a third implementation of thedisclosure. The method is applicable to a mobile terminal performingfingerprint unlocking in a screen-off state. The mobile terminalincludes a fingerprint module. The method may include the following.

At block 301, an operation of pressing the fingerprint module by a useris received.

The operation of pressing the fingerprint module by the user may bedivided into two stages, that is, a first stage and a second stage. Atthe first stage, the user touches the fingerprint module, and at thesecond stage, an intensity value of pressing reaches a preset intensityvalue. The capacitance of a capacitor for generating an IRQ in thefingerprint module may be changed at the moment that the user touchesthe fingerprint module. The mobile terminal may treat the moment as astart time of unlocking and perform a fingerprint unlocking operation.

At block 302, light sensing and color temperature detection arecontrolled in a turn-off state. For example, whether the mobile terminalhas turned on the light sensing and the color temperature detection isdetermined. If the mobile terminal has turned on the light sensing andthe color temperature detection, the light sensing, and the colortemperature detection are controlled to be turned off. And if the mobileterminal has turned off the light sensing and the color temperaturedetection, these two functions will remain in the turn-off state.

At block 303, a first thread for comparing an unlocking password and apreset password and a second thread for lighting up a display screen areexecuted in parallel, to unlock and light up the display screen of themobile terminal. Lighting up the display screen of the mobile terminalmay be achieved by invoking light sensation data and color temperaturedata used the last time the display screen of the mobile terminal waslit up.

As can be seen, in this implementation, the light sensing and colortemperature detection are turned off at block 302, thereby eliminatingthe need for tedious and time-consuming detection of brightness andcolor temperature of current real-time environment, which can improvethe running speed of a processor of the mobile terminal and consequentlycan improve the unlocking speed. Besides, the first thread and thesecond thread are executed in parallel at block 303, the throughput ofthe processor can be improved and the unlocking time can be furthershortened.

The method for improving the unlocking speed in accordance with thethird implementation may further include the following.

At block 304, the light sensing and the color temperature detection areturned on.

At block 305, a brightness value and a color temperature value of thedisplay screen lit up are adjusted according to light sensation data andcolor temperature data currently detected.

In the implementation, the display screen of the mobile terminal is litup by invoking the light sensation data and the color temperature dataused the last time the display screen of the mobile terminal was lit up.Thereby eliminating the need for tedious and time-consuming detection ofbrightness and color temperature of the current real-time environment,so that the screen can be lit up immediately and the unlocking speed canbe improved. Moreover, the first thread for comparing the unlockingpassword and the preset password and the second thread for lighting thescreen are executed in parallel, compared with the related art in whichunlocking is performed prior to lighting up the display screen, theunlocking time can be further reduced and the unlocking speed can befurther improved.

Fourth Implementation

FIG. 4 is a schematic flowchart illustrating a method for improvingunlocking speed in accordance with a fourth implementation of thedisclosure. The method is applicable to a mobile terminal performingfingerprint unlocking in a screen-off state. The mobile terminalincludes a fingerprint module. The method may include the following.

At block 401, an operation of pressing the fingerprint module by a useris received.

The operation of pressing the fingerprint module by the user may bedivided into two stages including a first stage and a second stage. Atthe first stage, the user touches the fingerprint module; at the secondstage, an intensity value of pressing reaches a preset intensity value.The capacitance of a capacitor for generating an IRQ in the fingerprintmodule may be changed at the moment that the user touches thefingerprint module, so that the mobile terminal may consider the momentas a start time of unlocking and perform a fingerprint unlockingoperation. An operation of lighting up the screen is triggered when theintensity value reaches the preset intensity value. Operations at block402 will be performed when the fingerprint module is touched, andoperations at block 405 will be performed when the intensity value offinger pressing reaches the preset intensity value. Operations at block402 to block 404 can be understood as the first thread, and operationsat block 405 can be understood as the second thread.

At block 402, a fingerprint image(s) is acquired.

At block 403, compare the fingerprint image acquired with a presetimage.

At block 404, the mobile terminal will be unlocked after a successfulmatch. Obviously, the terminal cannot be unlocked if the comparisonfails. It is possible to remind the user that the user has failed tounlock the terminal or the mobile terminal will do nothing, and theimplementations of the disclosure are not limited.

If the fingerprint module of the mobile terminal is equipped with ametal dome array and the current unlock mode is press-to-unlock in ascreen-off state, S405 may be executed in parallel with the execution ofS401 to S403.

At block 405, a screen-on interruption is generated when the intensityvalue of pressing reaches the preset intensity value.

At block 406, a display screen of the mobile terminal is unlocked andlit up, after the successful match and the screen-on interruption isgenerated. The display screen of the mobile terminal is lit up byinvoking light sensation data and color temperature data used the lasttime the display screen of the mobile terminal was lit up.

In one implementation, the terminal is unlocked when the fingerprintimage acquired is matched, and the display screen is lit up when thescreen-on interruption is generated. The display screen is unlocked andlit up when the fingerprint image acquired is matched and the screen-oninterruption is generated. That is, if the fingerprint image acquired issuccessfully matched before the screen-on interruption is generated, thedisplay screen will be unlocked first, and then the display screen willbe lit up when the screen-on interruption is generated; otherwise, ifthe screen-on interruption is generated before the fingerprint imageacquired is matched, the display screen will be lit up first and then alocked interface will be displayed. The mobile terminal then switches toan unlock interface after the fingerprint image acquired is matched, tocomplete the unlocking and lighting up of the display screen. In anotherimplementation, after the screen-on interruption is generated, thedisplay screen will not be lit up until the fingerprint image acquiredis matched. That is, the display screen is lit up after the mobileterminal is unlocked. Therefore, a moment that the display screen is litup can be considered as a completion of the unlocking.

According to the speed of pressing the fingerprint module by the user,block 405 may be performed between block 401 and block 402, or betweenblock 402 and block 403, or between block 403 and block 404, orsubsequent to block 404.

The fingerprint module may include a metal dome array. The metal domearray having a metal dome (also known as “snap dome”) located on aconductive portion of a print circuit board (PCB). When the intensityvalue of pressing reaches the preset intensity value, a center point ofthe metal dome concaves and touches a line of the PCB, thereby forming aloop to make a current pass through, so that the entire product mayfunction properly. The metal dome, generally made of stainless steel, isan important part of a switch. Due to its continuity, the metal dome canact as a switch between an operator and the product. Due to its stablerebound (automatic restored after pressing) and long service life, themetal dome can provide the operator with a better sense of touchfeedback. The metal dome is mainly used in membrane switches of PCB andother hard boards. The metal dome array may be disposed under afingerprint acquiring area of the fingerprint module. The first threadmay be triggered when the user touches the fingerprint acquiring area;and the second thread may be triggered when the intensity of pressingapplied to the metal dome array via the fingerprint acquiring area ofthe fingerprint module reaches the preset intensity value.

In the implementation, a common single thread of press-to-unlock isdivided into two parallel threads, that is, Thread 1 and Thread 2. Thesingle thread includes: press-to-trigger, finger-touch, fingerprintacquisition, fingerprint comparing, unlocking and lighting up. Thread 1includes: finger-touch, fingerprint acquisition, fingerprint comparing,unlocking. Thread 2 includes: press-to-trigger, waiting to be unlocked,light-up. As the two threads may be performed in parallel, the operationof press-to-trigger in Thread 2 may be performed in Thread 1. The idealsituation is that press-to-trigger is subsequent to the completion ofunlocking. For the user's sensation, pressing is the start time ofunlocking, and time required for unlocking can be considered as aduration from pressing by the user to lighting up the display screen.

However, unlocking and lighting up would be performed only after twoparallel threads are both completed. That is, the display screen wouldbe unlocked and lit up only after the fingerprint image acquired ismatched and the screen-on interruption is generated, if one of them iscompleted first, unlocking and lighting up would not be performed untilthe other one is completed. If press-to-trigger is subsequent tocompleting the unlocking, i.e., the intensity value of pressing of theuser reaches the preset intensity value after completing the unlocking,there is no need to wait for comparing and unlocking. The unlocking timesensed by the user is the shortest, that is, from triggeringinterruption by pressing the metal dome array to light up the displayscreen, and usually only 60 ms to 100 ms, while common unlockinggenerally takes about 3 s. In the parallel manner, the metal dome arrayis pressed to reach the preset intensity value immediately when the usertouches the fingerprint module, the fingerprint acquisition andfingerprint matching time will also be calculated for the unlockingtime, and in this case, the unlocking time is the longest (“longestunlocking time” in the following). The longest unlocking time in twoparallel threads in implementations of the present disclosure is stillshorter than that in the single thread where operations such asfinger-touch detection are subsequent to press-to-trigger. Therefore,the parallel threads in the implementations allow for a shorter time fortriggering the fingerprint unlocking by pressing in the screen-off stateand improved user experience.

The method for improving the unlocking speed in accordance with a forthimplementation may further include the following.

At block 407, the light sensing and the color temperature detection areturned on.

At block 408, a brightness value and a color temperature value of thedisplay screen lit up are adjusted according to light sensation data andcolor temperature data currently detected.

Prior to any of block 402 to block 405, light sensing and colortemperature detection are controlled in a turn-off state. Specifically,whether the mobile terminal has turned on the light sensing and thecolor temperature detection is determined; if so, the light sensing andthe color temperature detection are controlled to be turned off.Otherwise, if the mobile terminal has turned off the light sensing andthe color temperature detection, these two functions will remain in theturn-off state.

To obtain better display effects, light sensing and color temperaturedetection will usually be turned on simultaneously. The method inaccordance with the implementations of the disclosure is stillapplicable to scenes where only one of the light sensing and the colortemperature detection is turned on. In this situation, what need to dois, determining whether only one of the light sensing and the colortemperature detection is turned on and if so, turning it off and thenlighting up the display screen by invoking data used the last time thedisplay screen was lit up. “The last time” referred to herein may referto with respect to the current screen-off state, when the display screenwas lit up in the previous time. In addition to the data used the lasttime the display screen was lit up, data used for lighting up set bymanufactures or the user may also be invoked to light up the displayscreen, and the implementations of the disclosure are not limitedthereto.

In the implementation, the unlocking time can be greatly shortened byusing the parallel threads and can be further shortened as there is noneed to perform the light sensing and the color temperature detectionwhen lighting up the display screen. The light sensing and the colortemperature detection are re-turned on after lighting up the displayscreen, to auto-adjust brightness and color temperature of the displayscreen according to the current environment, thereby meeting real-timerequirements of the user, further ensuring display effects of the screenwhile improving the unlocking speed.

Fifth Implementation

FIG. 5 is a schematic diagram of functional modules of a mobile terminal1 in accordance with an implementation of the disclosure. In theimplementation, the mobile terminal 1 may include a receiving unit 100and an unlocking and lighting up unit 200.

The receiving unit 100 can be implemented as a receiver or a sensorcoupled to or integrated in a fingerprint module for example. Thereceiving unit 100 can also be other hardware components. The unlockingand lighting up unit 200 can be a processor or a circuit or controlcomponent coupled to or integrated in the processor.

The receiving unit 100 is configured to receive from a user an operationof entering an unlocking password.

The following describes the fingerprint password as an example. The usermay touch a fingerprint module with a finger when entering the unlockingpassword. The capacitance of a capacitor for generating an IRQ in thefingerprint module then may be changed. The mobile terminal may treatthe moment of touching the fingerprint module as a start time ofunlocking.

The operation of entering the unlocking password can be implemented asentering the biological password of the user for example. In this case,in response to the operation, the biological password will be obtainedand compared with a preset biological password. For example, afingerprint image, an iris image, a face image, a brain wave image, anelectrocardiographic image, or a sound waveform image entered will becompared with a preset fingerprint image, a preset iris image, a presetface image, a preset brain wave image, a preset electrocardiographicimage, or a preset sound waveform image correspondingly. For example,the mobile terminal may receive an operation of entering a fingerprintimage by a fingerprint module, then acquire the fingerprint imageentered by the user and compare it with the preset fingerprint image.

After obtaining the biological password, to better compare a presetpassword, an original image corresponding to the obtained biologicalpassword can be optimized to make the original image clearer.

The unlocking and lighting up unit 200 is configured to compare theunlocking password entered with the preset password, and to unlock andlight up a display screen of the mobile terminal at least after asuccessful match. The display screen of the mobile terminal is lit up byinvoking light sensation data and color temperature data used when thedisplay screen of the mobile terminal was lit up last time.

Obviously, the terminal will not be unlocked if the comparison fails. Itis possible to remind the user that he or she has failed to unlock themobile terminal or do nothing, and the implementations of the disclosureare not limited.

In one implementation, the terminal is unlocked when the unlockingpassword entered is matched, and the display screen is lit up when thescreen-on interruption is generated. The display screen is unlocked andlit up when the unlocking password entered is matched and the screen-oninterruption is generated. That is, if the unlocking password entered issuccessfully matched before the screen-on interruption is generated, thedisplay screen will be unlocked first, and then the display screen willbe lit up when the screen-on interruption is generated; otherwise, ifthe screen-on interruption is generated before the unlocking passwordentered is successfully matched, the display screen will be lit up firstand then a locked interface will be displayed. The mobile terminal thenswitches to an unlock interface after the unlocking password entered ismatched, to complete the unlocking and lighting up of the displayscreen. In another implementation, after the screen-on interruption isgenerated, the display screen will not be lit up until the unlockingpassword entered is matched. That is, the display screen will be lit upafter the mobile terminal is unlocked. Therefore, a moment that thedisplay screen is lit up can be considered as a completion of theunlocking.

To obtain better display effects, light sensing and color temperaturedetection will usually be turned on simultaneously. The method inaccordance with the implementations of the disclosure is stillapplicable in scenes where only one of the light sensing and the colortemperature detection is turned on. In this situation, what need to dois, determining whether only one of the light sensation and the colortemperature detection is turned on and if so, turning it off and thenlighting up the display screen by invoking data used the last time thedisplay screen was lit up. “The last time” used herein may refer tothat, with respect to the current screen-off state, when the displayscreen was lit up in the previous time. In addition to the data used thelast time the display screen was lit up, data used for lighting upset bymanufactures or the user may also be invoked to light up the displayscreen, and the implementations of the disclosure are not limitedthereto.

In the screen-off state, the receiving unit 100 can receive theoperation of entering the unlocking password by the user, and obtain theunlocking password entered by the user. Then the unlocking and lightingup unit 200 compares the unlocking password and the preset password. Ifthe unlocking password and the preset password are matched, theunlocking and lighting up unit 200 performs unlocking. After unlocking,the light sensing and the color temperature detection will be turned offor remain in a turn-off state, and the display screen of the mobileterminal then will be lit up by invoking the light sensation data andthe color temperature data used when the display screen of the mobileterminal was lit up last time. Thereby eliminating the need for tediousand time-consuming detection of brightness and color temperature of thecurrent real-time environment and consequently, the display screen canbe lit up immediately, and the unlocking speed can be improved. The userdoes not have to wait for an excessively long unlocking time, therebyimproving practicability of the terminal and providing better userexperience for the user.

Sixth Implementation

FIG. 6 is a schematic block diagram of functional modules of the mobileterminal 1 in accordance with an implementation of the disclosure. Inthe implementation, the mobile terminal 1 may include the receiving unit100, the unlocking and lighting up unit 200, a control unit 300, and anadjusting unit 400. The control unit 300 and the adjusting unit 400 canbe disposed integrally or separately.

The receiving unit 100 is configured to receive from a user an operationof entering an unlocking password. The receiving unit 100 can be coupledto a fingerprint sensor and receive the operation of the user via thefingerprint sensor. For example, when the user places his or her fingerabove the fingerprint sensor, unlocking password (such as fingerprintimages) can be received.

The unlocking password may be a biological password.

The biological password may include but is not limited to a fingerprintpassword, an iris password, a face identification password, a brain wavepassword, or a heartbeat password.

The following describes the fingerprint password as an example. The usermay touch a fingerprint module with a finger when entering the unlockingpassword. The capacitance of a capacitor for generating an IRQ in thefingerprint module then may be changed. The mobile terminal may treatthe moment of touching the fingerprint module as a start time ofunlocking.

When the unlocking password entered is the biological password, inresponse to the entering of the biological password, the biologicalpassword will be obtained and compared with a preset biologicalpassword. For example, a fingerprint image, an iris image, a face image,a brain wave image, an electrocardiographic image, or a sound waveformimage entered will be compared with a preset fingerprint image, a presetiris image, a preset face image, a preset brain wave image, a presetelectrocardiographic image, or a preset sound waveform image iscorrespondingly compared. For example, the mobile may receive anoperation of entering a fingerprint image by touching a fingerprintmodule, then acquire the fingerprint image entered by the user andcompare it with the preset fingerprint image.

After obtaining the biological password, to better compare a presetpassword, an original image corresponding to the obtained biologicalpassword can be optimized to make the original image clearer.

The unlocking and lighting up unit 200 is configured to compare theunlocking password entered and the preset password, and to unlock andlight up a display screen of the mobile terminal at least after asuccessful match. In one implementation, the display screen of themobile terminal can be lit up by invoking light sensation data and colortemperature data used the last time the display screen of the mobileterminal was lit up.

The control unit 300 is configured to control the state of light sensingand color temperature detection. The light sensing and the colortemperature detection can be achieved via a light sensor and a colortemperature sensor respectively. The control unit can be coupled withthe light sensor and the color temperature sensor. For example, thecontrol unit 300 may be configured to turn on light sensing and colortemperature detection to detect light sensation data and colortemperature data, after the unlocking and lighting up unit 200 unlocksand lights up the display screen of the mobile terminal. The adjustingunit 400 can be configured to adjust a brightness value and a colortemperature value of the display screen lit up according to the lightsensation data and the color temperature data, currently detected by thelight sensor and the color temperature sensor for example. Asillustrated in FIG. 6, the adjusting unit 400 can be coupled to thedisplay screen.

The control unit 300 may also be configured to control to turn off thelight sensing and color temperature detection, or maintain the lightsensing and the color temperature detection in a turn-off state, beforethe unlocking and lighting up unit 200 lights up the display screen ofthe mobile terminal.

As data for unlocking and lighting up the display screen last time isused to unlock and light up the display screen, the data may not fitcurrent environment. So, the light sensing and the color temperaturedetection are re-turned on after lighting up the display screen, toauto-adjust brightness and color temperature of the display screenaccording to the current environment, thereby meeting real-timerequirements of the user, further ensuring display effects of the screenwhile improving the unlocking speed.

In the mobile terminal 1 of the first implementation as illustrated inFIG. 5 and t second implementation as illustrated in FIG. 6, the mobileterminal 1 may further include a fingerprint module. The unlockingpassword may be a fingerprint password for example. The receiving unit100 is configured to receive from the user an operation of pressing thefingerprint module.

The unlocking and lighting up unit 200 configured to compare theunlocking password entered and the preset password and to unlock andlight up the display screen of the mobile terminal at least after theunlocking password entered and the preset password is matched, can befurther configured to perform in parallel a first thread for comparingthe unlocking password and the preset password and a second thread forlighting up the screen, so as to unlock and light up the display screenof the mobile terminal.

In terms of performing in parallel the first thread and the secondthread to unlock and light up the display screen of the mobile terminal,the unlocking and lighting up unit 200 can be further configured toperform the first thread when the fingerprint module is touched, performthe second thread when an intensity value of pressing reaches a presetintensity value, and then unlock and light up the display screen whenthe fingerprint image acquired is matched and the screen-on interruptionis generated. During the first thread, the fingerprint image can beacquired and compared with a preset image, and the display screen can beunlocked after the fingerprint image acquired is matched. During thesecond thread, the screen-on interruption can be generated.

The second thread may be performed after the first thread has startedand prior to acquiring the fingerprint image, or subsequent to acquiringthe fingerprint image and prior to matching, or subsequent to comparingand prior to matching successfully, or subsequent to matchingsuccessfully and prior to lighting up the display screen.

If the mobile terminal is provided with a metal dome array and thecurrent unlock mode is press-to-unlock in a screen-off state, executethe first thread and execute the second thread during the execution ofthe first thread. During the execution of the first thread, thereceiving unit 100 receives from the user the operation of touching thefingerprint module, and obtains the fingerprint image in response to theoperation of entering the unlocking password; the unlocking and lightingup unit 200 compares the fingerprint image acquired with the presetfingerprint image and unlocks the display screen after the fingerprintimage acquired is matched. During the execution the second thread, thereceiving unit 100 obtains an intensity value generated by pressing themetal dome array, in response to the operation of entering the unlockingpassword; the unlocking and lighting up unit 200 generates the screen-oninterruption after the intensity value reaches the pre-set value. Theunlocking and lighting up unit 200 will unlock and light up the displayscreen when the unlocking is completed and the screen-on interruption isgenerated.

As can be seen, a common single thread of press-to-unlock is dividedinto two parallel threads, that is, Thread 1 and Thread 2. The commonsingle thread includes: press-to-trigger, finger-touch, fingerprintacquisition, fingerprint comparing, unlocking and lighting up. Thread 1includes: finger-touch, fingerprint acquisition, fingerprint comparing,and unlocking. Thread 2 includes: press-to-trigger, waiting to beunlocked, and lighting up. As the two threads may be performed inparallel, the operation of press-to-trigger in Thread 2 may be performedin Thread 1. The ideal situation is that press-to-trigger is subsequentto the completion of unlocking. So, the unlocking time in the idealsituation can be considered as the duration from pressing by the user tolighting up the display screen. If press-to-trigger is subsequent tocompleting the unlocking, the time for unlocking is the shortest, thatis, from triggering interruption by pressing the metal dome array tolight up the display screen, and usually 60 ms to 100 ms, while commonunlocking takes about 3 s. In the parallel manner, the metal dome arrayis pressed to reach the preset intensity value immediately when the usertouches the fingerprint module, the fingerprint acquisition and thefingerprint matching time will also be calculated for the unlockingtime, and in this case, the unlocking time is the longest. However, thelongest unlocking time in two parallel threads in implementations of thepresent disclosure is still shorter than that in the single thread whereoperations such as finger-touch detection are subsequent topress-to-trigger. Therefore, the parallel threads in the implementationsallow for a shorter time for triggering the fingerprint unlocking bypressing in the screen-off state can be greatly shortened and improveduser experience.

The above-described receiving unit 100, unlocking and lighting up unit200, control unit 300, and adjusting unit 400 may be set separately orintegrated. The receiving unit 100, unlocking and lighting up unit 200,control unit 300, and adjusting unit 400 may be set as a hardware (suchas a microprocessor) separately from a processor of the mobile terminal.They may be embedded in the processor of the mobile terminal in the formof hardware. Alternatively, they may also be stored in a memory of themobile terminal in the form of software, so as to be invoked by theprocessor of the mobile terminal to complete the operations of thereceiving unit 100, unlocking and lighting up unit 200, control unit300, and adjusting unit 400.

For example, in the mobile terminal, the sixth implementation of thedisclosure, the unlocking and lighting up unit 200 may be amicroprocessor of the mobile terminal. The receiving unit 100 and theadjusting unit 400 may be embedded in the processor, or separately fromthe processor, or stored in the memory in the form of software to beinvoked by the processor to achieve functions of the receiving unit 100and the adjusting unit 400. The control unit can be a controller ormicro-controller. Implementations of the disclosure are not limitedthereto. “Processor” can be a central processing unit (CPU), amicroprocessor, a micro-controller, or the like.

Seventh Implementation

FIG. 7 is a hardware architecture diagram of the mobile terminal 1 inaccordance with an implementation of the disclosure. In theimplementation, the mobile terminal 1 may include a processor 110, amemory 120, a display screen 130, and an interface unit 140. Theinterface unit 140 is configured to receive from a user an operation ofentering an unlocking password.

The processor 110 is connected to the memory 120, the display screen130, and the interface unit 140.

The memory 120 is configured to store a set of program codes. Theprocessor 110 is configured to invoke the program codes stored in memory120 to perform part or all of the steps of the method for improving theunlocking speed described in any of the above implementations.

For example, the processor 110 is configured to receive the operation ofentering the unlocking password by the user via the receiving unit 100.

The processor 110 compares the unlocking password entered with a presetpassword, and the display screen 130 of the mobile terminal 1 will beunlocked and lit up at least after the unlocking password entered andthe preset password is matched. In one implementation, the displayscreen 130 of the mobile terminal 1 is lit up by invoking lightsensation data and color temperature data used the last time the displayscreen 130 of the mobile terminal 1 was lit up.

After the display screen 130 of the mobile terminal 1 is unlocked andlit up, the processor 110 is further configured to turn on light sensingand color temperature detection, and adjust a brightness value and acolor temperature value of display screen 130 that is lit up accordingto light sensation data and color temperature data currently detected.The light sensing can be achieved via a light sensor 150. The colortemperature detection can be achieved via a color temperature sensor ordetector 160.

The unlocking password may be a biological password.

The biological password may include a fingerprint password, an irispassword, a face identification password, a brain wave password, or aheartbeat password.

As illustrated in FIG. 7, the interface unit 140 may include afingerprint module 141 (such as a fingerprint sensor). As oneimplementation, the fingerprint module 141 is equipped with a metal domearray 142, and the current unlock mode is press-to-unlock in ascreen-off state, the processor 110 is further configured to perform afirst thread and perform a second thread during the execution of thefirst thread. During the first thread, an operation of touchingfingerprint module 141 by the user is received; a fingerprint image isacquired and compared with a preset fingerprint image; the displayscreen will be unlocked after the fingerprint image acquired is matched.During the second thread, the terminal waits for completion of theunlocking, and then lights up the display screen when an intensity valueof pressing fingerprint module 141 reaches a preset value.

The receiving unit 100, the unlocking and lighting up unit 200, thecontrol unit 300, and the adjusting unit 400 described above may becentralized program codes. The processor 110 can perform the method forimproving the unlocking speed in any of the preceding implementationsvia the receiving unit 100, the unlocking and lighting up unit 200, thecontrol unit 300, and the adjusting unit 400.

Implementations of the disclosure also provide a computer storage mediumwhich can store programs. For example, the computer storage medium canstore the receiving unit 100, the unlocking and lighting up unit 200,the control unit 300, and the adjusting unit 400 that are in the form ofprogram instructions. The programs, when executed, can be configured toimplement part or all of the steps of the methods described in the aboveimplementations.

According to implementations of the present disclosure, in thescreen-off state, by receiving the operation instruction of entering theunlocking password by the user, the unlocking password entered by theuser can be obtained. Then compare the unlocking password and the presetpassword. If the unlocking password and the preset password are matched,unlocking is performed. After unlocking, whether the mobile terminal hasturned on light sensing and color temperature detection is determined.Based on a determination that the mobile terminal has turned on lightsensing and color temperature detection, the light sensing and the colortemperature detection will be turned off and the light sensation dataand the color temperature data used the last time the display screen ofthe mobile terminal was lit up will be invoked to light up the displayscreen of the mobile terminal.

At least one of the following advantageous effects can be achieved bymeans of the technical schemes of the present disclosure. For example,the need of tedious and time-consuming detection of brightness and colortemperature of current real-time environment can be eliminated and as aresult, the screen can be lit up immediately and the unlocking speed canbe improved. The user does not have to wait for an excessively longunlocking time, thereby improving practicability of the terminal andproviding better user experience for the user.

Continuing, after lighting up the display screen, the light sensing andthe color temperature detection are re-turned on, to auto-adjustbrightness and color temperature of the display screen according to thecurrent environment, thereby meeting real-time requirements of the user,further ensuring display effects of the screen while improving theunlocking speed. Since one common single thread of press-to-unlock isreplaced by two parallel threads, i.e., two threads performed inparallel, unlocking time for press-to-unlock in the screen-off state canbe shortened and user experience can be improved.

It should be noted that implementations in the present specification aredescribed in a progressive manner, each implementation may focus ondifferences from other implementations; for the same or similar parts inthe implementations, and reference can be made to each other. The deviceimplementations are substantially similar to the method implementationsand therefore, the description of the device is relatively simple. Forthe relevant part, reference can be made to part of the description ofthe method implementations.

In the implementations provided herein, the disclosed device may beimplemented in other ways. For example, the device implementationsdescribed above are merely illustrative, for example, the division ofthe units is only a logical function division and there may be otherdivision manners in actual implementation. For example, multiple unitsor components may be combined or integrated into another system, or somefeatures can be omitted or not executed. In addition, coupling, directcoupling, or communication connection illustrated or discussed may beindirect coupling or communication connection through some interfaces,devices or units, and may be electrical or other forms.

The units described as separated components may or may not be physicallyseparate, and the components illustrated as units may or may not bephysical units, i.e., may be located in one place or may be distributedover a plurality of network elements. Part or all of the units may beselected according to actual needs to achieve the object of theimplementations.

In addition, the functional units in the implementations of the presentdisclosure may be integrated in one processing unit, or each unit mayexist physically alone, or two or more units may be integrated in oneunit. The above-mentioned integrated units can be implemented in theform of hardware or software function units.

When the integrated units are implemented in the form of softwarefunction units and are sold or used as a separate product, theintegrated units may be stored in a computer-readable storage medium.Based on such understanding, the technical solutions of the presentdisclosure may essentially, or part that contributes to the prior art,or all or part of the technical solutions may be embodied in the form ofa software product stored in a storage medium, including a number ofinstructions for enabling a computer device (may be a personal computer,a server, or a network device, etc.) to perform all or part of the stepsof the methods described in the implementations of the presentdisclosure. Memory 120 and the storage medium may include a magneticdisk, an optical disk, a read-only memory (ROM), a random access memory(RAM), or the like.

Eighth Implementation

FIG. 8 is a schematic flowchart illustrating a method for improvingunlocking speed in accordance with an eighth of the disclosure. Asillustrated in FIG. 8, the method is applied to a mobile terminal in ascreen-off state and equipped with a metal dome array and may includethe following operations.

At block 801, whether a current unlock mode of the mobile terminal ispress-to-trigger fingerprint unlock in the screen-off state isdetermined. When the current unlock mode of the mobile terminal ispress-to-trigger fingerprint unlock in the screen-off state, advance toexecute a first thread at block 802 and a second thread at block 803.

In one implementation, the first thread is executed when the currentunlock mode of the mobile terminal is press-to-trigger fingerprintunlock in the screen-off state, and the second thread is executed duringthe execution of the first thread. The first thread includes thefollowing. An operation instruction is received when a user touches afingerprint module, a fingerprint image is acquired, the fingerprintimage acquired is compared with a preset fingerprint image, and unlockafter a successful match. The second thread includes the following. Anoperation instruction is received when the user presses the metal domearray, and wait for unlocking success and then a display screen is litup.

In one implementation, prior to lighting up the display screen, themethod further includes the following. Whether the mobile terminal hascurrently turned on light sensing and color temperature detection isdetermined. The light sensing and the color temperature detection areturned off and light sensation data and color temperature data used lasttime for lighting up the display screen of the mobile terminal areinvoked, to light up the display screen of the mobile terminal, based ona determination that the mobile terminal has currently turned on thelight sensing and the color temperature detection. A moment that thedisplay screen is lit up is used as a moment of completion of unlocking.

In one implementation, the method further includes the following afterthe turning off the light sensing and the color temperature detection,and the invoking light sensation data and color temperature data usedlast time for lighting up the display screen of the mobile terminal tolight up the display screen of the mobile terminal. The light sensingand the color temperature detection are turned on and a brightness valueand a color temperature value of the display screen lit up are adjustedaccording to light sensation data and color temperature data currentlydetected.

As the first thread and the second thread are performed in parallel, theunlocking time can be greatly shortened and user experience can beimproved.

Ninth Implementation

FIG. 9 is a schematic diagram of functional modules of a mobile terminalin accordance with a ninth implementation of the disclosure. Asillustrated in FIG. 9, the mobile terminal includes a receiving unit 91,an acquiring unit 92, a comparing unit 93, a lighting up unit 94, and adetermining unit 95. The above components can be a controller,micro-processor, or logical circuit. As one implementation, the abovecomponents can be integrated into a fingerprint sensor (also known asfingerprint identification sensor, fingerprint identification module, afingerprint module and the like), or the receiving unit 91, theacquiring unit 92, and the comparing unit 93 can be integrated into afingerprint module and the lighting up unit 94 and the determining unit95 can be integrated into a controller or processor coupled with thefingerprint module.

In one implementation, a first thread is executed when a current unlockmode of the mobile terminal is press-to-trigger fingerprint unlock inthe screen-off state, and a second thread is executed during theexecution of the first thread. When the first thread is conducted, thereceiving unit 91 is configured to receive an operation instruction whena user touches a fingerprint module, the acquiring unit 92 is configuredto acquire a fingerprint image, and the comparing unit 93 is configuredto compare the fingerprint image acquired with a preset fingerprintimage and unlock after a successful match. When the second thread isconducted, the receiving unit 91 is further configured to receive anoperation instruction when the user presses the metal dome array, andthe lighting up unit 94 is configured to wait for unlocking success andthen light up a display screen.

In one implementation, the determining unit 95 is configured todetermine whether the mobile terminal has currently turned on lightsensing and color temperature detection before the lighting up a displayscreen.

The lighting up unit 94 is further configured to turn off the lightsensing and the color temperature detection and invoke light sensationdata and color temperature data used last time for lighting up thedisplay screen of the mobile terminal, to light up the display screen ofthe mobile terminal, based on a determination that the mobile terminalhas currently turned on the light sensing and the color temperaturedetection.

In one implementation, a moment that the display screen is lit up isused as a moment of completion of unlocking.

In one implementation, the mobile terminal further includes an adjustingunit 96. The adjusting unit 96 is configured to: turn on the lightsensing and the color temperature detection, after the lighting up unitturns off the light sensing and the color temperature detection andinvokes light sensation data and color temperature data used last timefor lighting up the display screen of the mobile terminal to light upthe display screen of the mobile terminal; adjust a brightness value anda color temperature value of the display screen lit up according tolight sensation data and color temperature data currently detected.

As described above, the above implementations are merely illustrative ofthe technical solutions of the present disclosure and are not intendedto be limiting thereof. Although the present disclosure has beendescribed in detail with reference to the foregoing implementations,those of ordinary skill in the art will understand that it is stillpossible to modify the technical solutions recited in the foregoingimplementations or to equivalently replace some of the technicalfeatures therein, and that these modifications or substitutions do notdepart from the scope of the technical solutions of the variousimplementations of the present disclosure.

What is claimed is:
 1. A method for improving unlocking speed,applicable to a mobile terminal in a screen-off state and equipped witha metal dome array, comprising: executing a first thread when a currentunlock mode of the mobile terminal is press-to-trigger fingerprintunlock in the screen-off state, and executing a second thread during theexecution of the first thread; wherein the first thread comprises:receiving an operation instruction when a user touches a fingerprintmodule, acquiring a fingerprint image, comparing the fingerprint imageacquired with a preset fingerprint image, and unlocking after asuccessful match; wherein the second thread comprises: receiving anoperation instruction when the user presses the metal dome array, andwaiting for unlocking success and then lighting up a display screen;prior to lighting up the display screen, determining whether the mobileterminal has currently turned on light sensing and color temperaturedetection; turning off the light sensing and the color temperaturedetection and invoking light sensation data and color temperature dataused last time for lighting up the display screen of the mobileterminal, to light up the display screen of the mobile terminal, basedon a determination that the mobile terminal has currently turned on thelight sensing and the color temperature detection; and using a momentthat the display screen is lit up as a moment of completion ofunlocking.
 2. The method of claim 1, wherein the method furthercomprises the following after the turning off the light sensing and thecolor temperature detection and the invoking light sensation data andcolor temperature data used last time for lighting up the display screenof the mobile terminal to light up the display screen of the mobileterminal: turning on the light sensing and the color temperaturedetection; and adjusting a brightness value and a color temperaturevalue of the display screen lit up according to light sensation data andcolor temperature data currently detected.
 3. A mobile terminal, beingequipped with a metal dome array and comprising a processor connected toa memory configured to store a set of program codes, which when executedby the processor, become operational with the processor to: execute afirst thread when a current unlock mode of the mobile terminal ispress-to-trigger fingerprint unlock in a screen-off state, and execute asecond thread during execution of the first thread; during the executionof the first thread, receive an operation instruction when a usertouches a fingerprint module, acquire a fingerprint image, and comparethe fingerprint image acquired with a preset fingerprint image andunlock after a successful match; during execution of the second thread,receive an operation instruction when the user presses the metal domearray, and wait for unlocking success and then light up a displayscreen; determine whether the mobile terminal has currently turned onlight sensing and color temperature detection before the lighting up adisplay screen; and turn off the light sensing and the color temperaturedetection and invoke light sensation data and color temperature dataused last time for lighting up the display screen of the mobileterminal, to light up the display screen of the mobile terminal, basedon a determination that the mobile terminal has currently turned on thelight sensing and the color temperature detection; a moment that thedisplay screen is lit up being used as a moment of completion ofunlocking.
 4. The mobile terminal of claim 3, wherein the program codes,which when executed by the processor, further become operational withthe processor to: turn on the light sensing and the color temperaturedetection, after turning off the light sensing and the color temperaturedetection and invokes light sensation data and color temperature dataused last time for lighting up the display screen of the mobile terminalto light up the display screen of the mobile terminal; and adjust abrightness value and a color temperature value of the display screen litup according to light sensation data and color temperature datacurrently detected.